@bg-color: #282840; // 主要背景颜色
@bg-sec-color: #333752; // 次要背景颜色
@bg-card-color: #7e7e8c; //卡片头部、内容等背景颜色

@btn-bg: #7f7e8c;

@primary-color: #494a8671; // 全局主色
@primary-color-rgba: rgba(112, 254, 255, .8);
@link-color: #00FCFF; // 链接色
@success-color: #52c41a; // 成功色
@warning-color: #faad14; // 警告色
@error-color: #ff656d; // 错误色


.ant-dropdown-menu-item-active {
    background-color: @bg-sec-color  !important;
}

.ant-select-dropdown-menu-item-active {
    background-color: @bg-sec-color  !important;
}

.ant-tree-checkbox-inner {
    background-color: @bg-sec-color  !important;
}

.ant-tree-checkbox-checked .ant-tree-checkbox-inner {
    background-color: @primary-color  !important;
}

.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
    border-color: #eee !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected,
.ant-tree li .ant-tree-node-content-wrapper:hover {
    background-color: @bg-sec-color  !important;
}

/* .ant-tree li:hover>span {
    color: @bg-color;
}

.ant-tree li:hover>span::before {
    background: none !important;
} */

.ant-tree.ant-tree-directory>li:hover>span.ant-tree-node-content-wrapper::before,
.ant-tree.ant-tree-directory .ant-tree-child-tree>li:hover>span.ant-tree-node-content-wrapper::before {
    background: none;
}

.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper::before,
.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper::before {
    background: @primary-color;
}

.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper,
.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper {
    color: @bg-color;
}

// 下拉树
.ant-select-tree li .ant-select-tree-node-content-wrapper:hover {
    background-color: @bg-sec-color;
}

.ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
    background-color: @bg-sec-color;
}

.new-page .content {
    border-bottom: none !important
}

// Tag
.ant-tag {
    background-color: @bg-color  !important;
}

// Checkbox
@checkbox-size: 16px;
@checkbox-color: @primary-color;
@checkbox-check-color: #fff;
@checkbox-border-width: @border-width-base;